package com.zczy.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 待审核项目表
 * </p>
 *
 * @author xcl
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZczyAuditItem对象", description="待审核项目表")
public class ZczyAuditItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "发起人id")
    private Integer userId;

    @ApiModelProperty(value = "项目类型1:综合权益类，2：股权交易类")
    private Integer type;

    @ApiModelProperty(value = "分类id")
    private Integer category;

    @ApiModelProperty(value = "项目标题")
    private String title;

    @ApiModelProperty(value = "详情页头图")
    private String detailImg;

    @ApiModelProperty(value = "列表页头图")
    private String listImg;

    @ApiModelProperty(value = "项目简介")
    private String brief;

    @ApiModelProperty(value = "项目内容")
    private String description;

    @ApiModelProperty(value = "回报内容")
    private String itemreturns;

    @ApiModelProperty(value = "状态(1：待审核，2已通过，3未通过)")
    private Integer status;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "众筹天数")
    private String zcDays;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系电话")
    private String contactNumber;

    @ApiModelProperty(value = "文件路径（多个用英文逗号隔开）")
    private String fielUrl;

    @ApiModelProperty(value = "所在省id")
    private Integer province;

    @ApiModelProperty(value = "省名")
    private String provinceName;

    @ApiModelProperty(value = "所在市id")
    private Integer city;

    @ApiModelProperty(value = "市名")
    private String cityName;

    @ApiModelProperty(value = "项目位置")
    private String location;

    @ApiModelProperty(value = "浏览量")
    private Integer views;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("createBy")
    private String createBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updateBy")
    private String updateBy;


}
